/**
    ATClab - scriptable Air Traffic Control simulations.
    Copyright (C) 2010 openatclab@gmail.com

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
**/

#ifndef __ATC_CANVAS_TYPES_HDR__
#define __ATC_CANVAS_TYPES_HDR__


namespace atc {

    //
    // atc::
    //
	namespace CanvasItem {

		const int RTTI_INACTIVE = 1001;
		const int RTTI_ACTIVE   = 2001;
	
		enum TYPE {
				RTTI_NONE
			  , RTTI_SECTOR      = RTTI_INACTIVE
			  , RTTI_SECTORARC
			  , RTTI_ROUTE
			  , RTTI_ROUTEARC
			  , RTTI_WPTEXT
			  , RTTI_WPLOCATOR   = RTTI_ACTIVE
			  ,	RTTI_LOCATOR		// aircraft
			  ,	RTTI_CALLOUT
			  ,	RTTI_DATABLK
			  ,	RTTI_CALLBLK
			  ,	RTTI_ALTBLK
			  ,	RTTI_VELBLK
			  , RTTI_SCALE			// canvas tools
			  , RTTI_BRLLINE
			  , RTTI_BRLDATA
			  , RTTI_AC_ROUTEPATH	// aircraft tools
		};

		//
		// @todo: these are really KEYS !!
		//
		enum TOOL {
				NO_TOOL,
				ACCEPT_TOOL,
				HANDOFF_TOOL,
				HISTORY_TOOL,
				SRPROBE_TOOL,
				ROUTE_TOOL,
				VECTOR_TOOL,
				BRLINE_TOOL,
				PAUSE_TOOL,
				RESUME_TOOL
		};

	};

};

#endif
